package com.hang.model.dto.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class NoticeModelDTO {
    @ApiModelProperty(value = "发布人id",required = true)
    @NotNull
    private Long managerId;

    @ApiModelProperty(value = "发布人姓名",required = true)
    @NotBlank
    private String managerName;

    @ApiModelProperty(value = "公告所属项目id",required = true)
    @NotNull
    private Long itemId;

    @ApiModelProperty(value = "公告标题",required = true)
    @NotBlank
    private String title;

    @ApiModelProperty(value = "公告内容",required = true)
    @NotBlank
    private String content;

    @ApiModelProperty(value = "备注")
    private String remark;
}
